package com.yunshipei.core.model;

import java.util.ArrayList;
import java.util.List;

public class XCloudAppModel {

    private String name = "";
    private String scope = "";
    private String startURL = "";
    private String userAgent = "";
    private String runtimeVersion = "";
    private List<RegexModel> regexModelList = new ArrayList<>();
    private List<OverrideRegexModel> overrideModuleList = new ArrayList<>();
    private InterceptModel interceptModel;
    private List<InjectModel> injectModels = new ArrayList<>();
    private String manifestContent = "";
    private boolean adapterSupport2WebView = true;

    public InterceptModel getInterceptModel() {
        return interceptModel;
    }

    public void setInterceptModel(InterceptModel interceptModel) {
        this.interceptModel = interceptModel;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public void setStartURL(String startURL) {
        this.startURL = startURL;
    }

    public void setRuntimeVersion(String runtimeVersion) {
        this.runtimeVersion = runtimeVersion;
    }

    public String getRuntimeVersion() {
        return runtimeVersion;
    }

    public String getStartURL() {
        return startURL;
    }

    public List<RegexModel> getRegexModelList() {
        return regexModelList;
    }

    public String getScope() {
        return scope;
    }

    public List<OverrideRegexModel> getOverrideModuleList() {
        return overrideModuleList;
    }

    public List<InjectModel> getInjectModels() {
        return injectModels;
    }

    public String getUserAgent() {
        return userAgent;
    }

    public void setUserAgent(String userAgent) {
        this.userAgent = userAgent;
    }


    public String getManifestContent() {
        return manifestContent;
    }

    public void setManifestContent(String manifestContent) {
        this.manifestContent = manifestContent;
    }

    public boolean isAdapterSupport2WebView() {
        return adapterSupport2WebView;
    }

    public void setAdapterSupport2WebView(boolean adapterSupport2WebView) {
        this.adapterSupport2WebView = adapterSupport2WebView;
    }
}
